import { ScrollView, View } from "@tarojs/components"
import $style from './index.module.scss'

export default (props) => {
    return <View className={$style.page}>
        <ScrollView scrollY className={$style.body}>
            {props.children}
        </ScrollView>
        <View className={$style.footer}>
            {props.footer}
        </View>
    </View>
}